<!--
  描述：保修内容配置查询条件
  @author tanghongjun
  @since 2020-06-09 11:07:32
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<div class="layui-card-body" th:fragment="query">

    <!--每个zmn-form-item一行，每行4列
        支持页面自适应，1280分辨率下不折行
        -->
    <div class="zmn-form-item">
        <div class="item-inline">
            <label class="inline-label ">ID/名称：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <input type="text" name="keyWord" th:value="${vo.keyWord}"
                               placeholder="保修内容/ID" autocomplete="off" class="layui-input" maxlength="45"/>
                    </div>
                </div>
            </div>
        </div>
		<div class="item-inline">
			<label class="inline-label ">状态：</label>
			<div class="inline-box">
				<div class="inline-box-cc">
					<div class="box-input-inline">
                        <select id="status" name="status">
                            <option value="0" th:selected="${0 == vo.status}">-选择-</option>
                            <option value="1" th:selected="${vo.status == 1}">停用</option>
                            <option value="2" th:selected="${vo.status == 2}">启用</option>
                        </select>
					</div>
				</div>
			</div>
		</div>


        <div class="item-inline col2">
            <label class="inline-label">所属分类：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline col2">
                        <select name="servCategId" id="servCategId" lay-filter="servCategId" th:value="${vo.servCategId}">
                            <option value="">请选择</option>
                            <zmn th:each="categ:${servCategories}">
                                <option th:value="${categ.categId}" th:selected="${categ.categId == vo.servCategId}"
                                        th:text="${categ.name}">
                                    分类名称
                                </option>
                            </zmn>
                        </select>
                    </div>
                    <div class="box-input-inline col2">
                        <select name="categOneId" id="categOneId" lay-filter="categOneId" th:value="${vo.categOneId}">
                            <option value="">请选择</option>
                            <zmn th:each="basecateg:${baseCategories}">
                                <option th:value="${basecateg.key}" th:selected="${basecateg.key == vo.categOneId}"
                                        th:text="${basecateg.value}">产品一级分类
                                </option>
                            </zmn>
                        </select>
                    </div>
                </div>
            </div>
        </div>


    </div>
    <div class="zmn-form-item">
        <div class="item-inline">
            <label class="inline-label ">业务类型：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline col2">
                        <select name="bizType" id="bizType" lay-filter="bizType" th:value="${vo.bizType}">
                            <option value="">请选择</option>
                            <zmn th:each="bizType:${bizTypes}">
                                <option th:value="${bizType.key}" th:selected="${(bizType.key+'') == vo.bizType}"
                                        th:text="${bizType.value}">
                                </option>
                            </zmn>
                        </select>
                    </div>
                </div>
            </div>
        </div>
        <div class="item-submit">
            <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="LAY-user-back-search">
                <i class="layui-icon">&#xe615;</i>
            </button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm" lay-submit=""
                    lay-filter="zmn-form-reset"><i class="layui-icon">&#xe669;</i></button>
            <!--导出excel-->
            <button class="layui-btn d-button" lay-submit lay-filter="query-export" id="query-export" style="display: none"></button>
        </div>
    </div>
</div>
